﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SpeakupBackend.Themes
{
    public class BusinessLevelGroupFactory : BaseLevelGroupFactory<BusinessLevelGroup>
    {
        static List<Tuple<int, int>> GetValidLevelGroups()
        {
            return new List<Tuple<int, int>>()
            {
                new Tuple<int,int>(5,6),
                new Tuple<int,int>(7,8),
                new Tuple<int,int>(9,10),
                new Tuple<int,int>(11,15)
            };
        }

        public BusinessLevelGroupFactory() :
            base(GetValidLevelGroups())
        {

        }

        protected override BusinessLevelGroup CreateLevelGroup(int min, int max)
        {
            return new BusinessLevelGroup(min, max);
        }
    }
}
